<html>
<head>
<meta charset="utf-8">
    <title>your resource</title>
    <script type="text/javascript" src="jquery.js"></script>
</head>
<body>
    <ul class="resource"> 
	
	</ul>
</body>
</html>

<script type="text/javascript">
    $.ajax({
        url:'http://116.62.24.202:8080/getResourceList',
        type:'post',
        datatype:'json',
        success:function(res){
            console.log(res);
           //将数据显示在页面上
             var str = "";
               str +="";
            //遍历数据
			$.each(res,function(index,element){
				str+="<li><a href=\"http://116.62.24.202:8080/getResource?filename="+element+"\"></link>"+element+"<\li>";
				});	
			$('.resource').append(str);
}});
</script>